home *** CD-ROM | disk | FTP | other *** search
/ The Arcade BBS / arcadebbs.zip / arcadebbs / bbstools / WWIV Mods / WWCPBETA.ZIP / TROUBLE.DOC < prev    next >
Encoding:
Text File  |  1993-05-14  |  10.7 KB  |  234 lines

  1.         A Comedy of Errors: Things you should NOT do with WWCP!
  2.                               by
  3.                 Bryan Lockwood (system@coldbox.cojones.com)
  4.  
  5. Here are a few mistakes made by a greenhorn in trying to get WWCP to work 
  6. properly:
  7.  
  8.  
  9. 1: THE ERRONEOUS FOSSIL COMMAND
  10.  
  11. PROBLEM: To start with, I had a hell of a time getting my system to make a 
  12. WWIV connect. In fact, it didn't even seem to be getting through to the 
  13. modem! Hmmm...
  14.  
  15. SOLUTION: The fifth line in the WWSTAT file is where you tell your FOSSIL 
  16. driver which port to use. But the fellows who write FOSSIL drivers have a 
  17. wierd sense of programmer's humor, which is lost on us mere mortals. They 
  18. always start counting at zero, instead of at one like any normal person 
  19. would. So, when you want COM1, you actually tell the FOSSIL to use port 0. 
  20. When you want COM2, you tell the FOSSIL to use port 1. And so on.
  21.  
  22. So, I fixed this little booboo, and moved on to:
  23.  
  24. 2: THE MYSTERIOUS BRACKETS
  25.  
  26. PROBLEM: Well now I knew that WWCP was getting through to the modem. But the 
  27. modem would call my WWIV connect, make it through the network logon 
  28. procedure, and then drop carrier! 
  29.  
  30. SOLUTION: At this point I asked Tony for help, and he generously added
  31. some code which allowed WWCICO to post lots of interesting stuff to the wwcp 
  32. errorlog (found in /waffle/admin). Basically, this let me watch the entire 
  33. login sequence and see what the heck was happening.
  34.  
  35.  ***BIG hint***: if you are having trouble getting WWCICO to make a connect, 
  36.   edit the WWCICO line in your WWPOLL.BAT file to read  "WWCICO -dx"; this 
  37.   lets you see what is being sent and received by WWCICO, and it saves all 
  38.   this info to the wwcp errorlog in /waffle/admin. Now you can relax with a 
  39.   printout of the errorlog along with your modem, FOSSIL, ZMODEM, and wwcp 
  40.   docs and try to sort things out, instead of just grinding your teeth and 
  41.   pulling your hair.
  42.  
  43.  -Subhint:  If a WWIV site is having trouble connecting to you, change the 
  44.   line in WWSHELL.BAT to "WWCICO -rx", which invokes the same greatly 
  45.   expanded modem reporting scheme.
  46.  
  47.  -Sub-subhint: Remove the x flag once everything starts running smoothly. 
  48.   Otherwise your wwcp errorlog will eventually grow to gargantuan size.
  49.  
  50. Anyhow, I continued having the same problem. I pored over the WWSTAT file 
  51. time and time again, reread my ZMODEM docs, and bother the author 
  52. incessantly. Finally I found the problem:
  53.  
  54. Tony ships the programs with a sample WWSTAT file. Naturally, to save a
  55. little work, I just edited it and used the edited copy in my /waffle/system 
  56. directory. About the 65th time I re-read the file, I noticed that I had 
  57. forgotten to remove the brackets from the sample receive and  transmit 
  58. (or upload and download,  whatever you prefer)lines! I removed these 
  59. offensive brackets, and now I knew *that* was solved. Or so I thought:
  60.  
  61.  
  62. 3: THE MISNAMED DOWNLOAD FILE
  63.  
  64. You probably won't have this problem. When Tony started this thing,
  65. there was some controversy over what our node numbers would be. I think I
  66. had had three different node numbers by the time the dust settled. 
  67.  
  68. PROBLEM: Anyway, I was finally making connect, and sending as well as 
  69. receiving packets. The problem was that WWSMAIL didn't seem to want to 
  70. actually open my new packet and start posting the mail and news messages. 
  71. Again I contacted Tony... and he reminded me of the-
  72.  
  73. SOLUTION: Check my  receive and transmit lines in WWSTAT!!
  74.  
  75. Say you use DSZ to download your packet. The line should like sort of like 
  76. this:
  77.  
  78.                   dsz port 2 rz s501.net
  79.  
  80. Well, that last little bit ("s501.net" in my case) is the name of the file 
  81. you are downloading, no matter what it was called at the sending (WWIV 
  82. connect) end. So do please type it correctly. Otherwise it will download 
  83. just fine but WWRMAIL won't know what it is and will just ignore it! (I had 
  84. forgotten to change this to my latest node number).
  85.  
  86. Also, note that in *this* case, "port" really means port number in normal 
  87. terms. Start counting at 1. So if your FOSSIL port number is set at 0, this
  88. time you set the port at 1. Confusing? Yes. Just remember that in this case
  89. you use the actual COM port number, NOT the FOSSIL port number!
  90.  
  91. MORAL of the story: those receive and send lines are vitally important. Get 
  92. them right and then leave them alone!
  93.  
  94.  
  95. 5: THE BOBBLED PATHNAMES
  96.  
  97. I didn't make this mistake, but it wouldn't be hard to do:
  98.  
  99. PROBLEM:  If NOTHING WORKS RIGHT, double check the pathnames!
  100.  
  101. SOLUTION: There are a couple of places where it pays to pay attention to 
  102. pathnames:
  103.  
  104. In your newly-created /waffle/system/wwiv file, make sure the path points to 
  105. the proper directory for your WWIVnet subs. But then you knew this, right?
  106.  
  107. WWSTAT itself has one at the very end, which tells WWCP where all of your 
  108. packets and mail should be found. Remember to specify the drive letter and 
  109. leave a trailing backslash at the end of this path. Also, don't forget to 
  110. actually CREATE this path, as well as the \PACKETS and \MAIL directories 
  111. which must reside at the end of this path!
  112.  
  113. 6: THE ASCENDING ERRORLEVELS
  114.  
  115. PROBLEM: Then one day my WWIV connect decided to call me for a change. But 
  116. his board could not log in... even though he had the correct password and 
  117. nodename. At the point where his end expected a WWIVnet response, it did not 
  118. get one. Here's what happened:
  119.  
  120. SOLUTION: Tony advises you to make a few changes to your Waffle's
  121. RUN.BAT file, which allow Waffle to find WWCP when it needs to.  Your changed 
  122. file will look something like this:
  123.  
  124. (note: I am not gonna quote the whole thing)
  125.  
  126.         IF ERRORLEVEL == 80 GOTO END
  127.         IF ERRORLEVEL == 60 GOTO POLL
  128.         IF ERRORLEVEL == 40 GOTO UU
  129.         IF ERRORLEVEL == 20 GOTO CRON
  130.         IF ERRORLEVEL == 10 GOTO WW
  131.  
  132. Notice how the ERRORLEVEL numbers go from greater to smaller on each 
  133. successive line? This turns out to be VERY IMPORTANT!   If we had the last 
  134. line on top, the batch file would never be able to find it, since the lowest 
  135. errorlevel must be listed last. 
  136.  
  137. So if you are going to follow Tony's advice and use the line
  138. "IF ERRORLEVEL == 70 GOTO WW", put it between the GOTO END and GOTO POLL 
  139. lines. Otherwise any WWIV systems that try to call you will NOT be able to 
  140. login.... Waffle will treat them as if they were uucp sites. In my case I had 
  141. an errorlevel of 70 located after an errorlevel of 20. My WWIVnet connect was 
  142. being treated as though he were a uucp connect.
  143.  
  144. 7: THE MUNGED ADDRESS
  145.  
  146. PROBLEM: After I had all of the above figured out and was making successful 
  147. connects to my WWIVnet host, I found out that no one could (A)utoreply  to 
  148. my posts. Why? because I had gotten fancy and edited my /system/static file!
  149.  
  150. SOLUTION: Basically, Waffle defaults the NETNEWS and NETMAIL headers to the 
  151. following scheme, even if you don't name them at all in your static file:
  152.  
  153. netmail: %A@%n (%W)    <this  translates to  USER@NODENAME (USERNAME)>
  154. netnews: %A@%n (%W)    <example:  "gengap@coldbox (Generation Gap)>
  155.  
  156. I had switched it around so that my USERNAME would come first, with 
  157. (USER@NODENAME) afterwards. This was a no-no. Either stay with the default, 
  158. or read Tony's docs carefully before you go munging about with your
  159. NETMAIL and NETNEWS variables.
  160.  
  161. 8. MORE MUNGED NAMES
  162.  
  163. PROBLEM: I tried some munging just for fun, and again found out about my 
  164. incurable ignorance. When sending mail, don't try anything foolish like 
  165. adding bangpaths after the @ separator. 
  166.  
  167. You *can't* send mail to: "1-1111@bang!your!dead!wwiv"  
  168.                            (^^this is a fictional wwiv address)
  169.  
  170. SOLUTION: You *can* send mail to:     "bang!your!dead!wwiv!1-1111"
  171.  
  172. The above routing would make your message travel from your box to site 
  173. "bang", from there to site "your", from there to site "dead", and then from 
  174. "dead" into the WWIV connect, which would route the message to the proper 
  175. user and node number.  *If* you got the node number and user right, that is. 
  176.  
  177. Good advice for those new to uucp addressing schemes: Re-read Tony's
  178. docs, the sections on how to address mail. Then read those sections again.
  179.  
  180. 9. YET ANOTHER MAIL BOOBOO
  181.  
  182. PROBLEM: WWIV sysops are trying to send you email but it never gets through:
  183.  
  184. SOLUTION: If you didn't send a mail message from your primary account your 
  185. Waffle system (whichever one you use most often, probably SYSTEM or ROOT) 
  186. immediately after getting it all running, you may have a problem. 
  187.  
  188. Waffle uses account NAMES, but WWIV uses account NUMBERS to route mail. And 
  189. all WWIV sysops have account #1 on their systems. Thus, they assume they will 
  190. be able to send email to a node sysop by sending it to account number one at 
  191. that node number.
  192.  
  193. Well, Tony figured a way to make sure WWIV users wouldn't have to
  194. remember our different uucp way of naming ourselves. He set up WWSMAIL to 
  195. build a database that assigns every user on your Waffle system a mailbox 
  196. number the first time they send out any netmail. Now this database assigns 
  197. mailbox numbers in sequential order: that is, the first person to send WWIV 
  198. netmail gets mailbox number one, the second user gets number two, and so on.
  199.  
  200. Now since the WWIVnet guys are going to be sending you nifty stuff at mailbox 
  201. number one on your system, it behooves you to be the first one to send WWIV 
  202. netmail *from* your system, in order to get that all-important mailbox number 
  203. one. Have I belabored this point enough?
  204.  
  205. If you missed this in the docs and failed to be the first one to send WWIV 
  206. netmail from your system, do not despair. Simply remove the WWALPHA  and  
  207. WWNUM files from your \waffle\system directory. This resets the database 
  208. (well, actually it removes it) and WWSMAIL will start a new one the next 
  209. time mail is sent.
  210.  
  211.  
  212. ENDNOTE:
  213.  
  214. I figure there are other little problems a person could run into as he/she 
  215. becomes acquainted with the WWCP package.  I'm incredibly thumb-fingered when 
  216. it comes to stuff like this, but I got lucky this time and only stumbled over 
  217. a few rough spots. Tony was very helpful in solving my little problems,
  218. and for this I thank him. If you should happen to have a new and interesting 
  219. way of making this fine set of programs misbehave, and want to share it, let 
  220. either him or I know. If your problem is tough and still unsolved, I 
  221. recommend you contact Tony. We'll publish the problem and solution
  222. (without your name, of course) in a doc like this one to help out other users. 
  223. His address is in the WWCP.DOC, and you can get me at  the following 
  224. addresses:
  225.  
  226. WWIVnet:    55@9702   or   1-501@wwiv
  227.    (but then if your WWCP ain't working, how ya gonna do that?)
  228.  
  229. uucp:  system@coldbox.cojones.com
  230.  
  231. Both of us should be available on the WWCP Support Sub, which is being hosted
  232. by node 502, known in uucpland as "fredbox". You should be subscribing to
  233. this sub anyway.
  234.